package com.hq.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lujie
 * @since 2021-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("api_log")
public class ApiLogEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * api
     */
    @TableField("api_url")
    private String apiUrl;

    /**
     * 请求次数
     */
    @TableField("number")
    private Long number;

    /**
     * 请求时间
     */
    @TableField("date")
    private String date;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 页数
     */
    @TableField("page_no")
    private Integer pageNo;

    /**
     * 总页数
     */
    @TableField("total_page")
    private Integer totalPage;

    /**
     * 类型参数
     */
    @TableField("type")
    private Integer type;


}
